package com.tms.springboot.fegin;

import com.github.pagehelper.PageInfo;
import com.tms.springboot.aggregation.pojo.PdCoreOrg;
import com.tms.springboot.vo.CoreOrgJobInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @author 小哑巴
 * 2023/6/29
 * 19:14
 */
@FeignClient(value = "pd-aggregation",path = "/pd-core-org")
public interface CoreOrgFegin {
    @PostMapping("/queryCoreOrgList")
    PageInfo<CoreOrgJobInfoVo> queryCoreOrgList(@RequestBody Map<Object, Object> map);
}
